home *** CD-ROM | disk | FTP | other *** search
-
-
-
- TTTTccccllll____SSSSttttrrrriiiinnnnggggMMMMaaaattttcccchhhh((((3333)))) TTTTccccllll (((( )))) TTTTccccllll____SSSSttttrrrriiiinnnnggggMMMMaaaattttcccchhhh((((3333))))
-
-
-
- _________________________________________________________________
-
- NNNNAAAAMMMMEEEE
- Tcl_StringMatch - test whether a string matches a pattern
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ttttccccllll....hhhh>>>>
-
- int
- TTTTccccllll____SSSSttttrrrriiiinnnnggggMMMMaaaattttcccchhhh(_s_t_r_i_n_g, _p_a_t_t_e_r_n)
-
- AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
- char*_s_t_r_i_n_g(in)
- String to test.
-
- char*_p_a_t_t_e_r_n(in)
- Pattern to match against string. May contain special
- characters from the set *?\[].
- _________________________________________________________________
-
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- This utility procedure determines whether a string matches a
- given pattern. If it does, then TTTTccccllll____SSSSttttrrrriiiinnnnggggMMMMaaaattttcccchhhh returns 1.
- Otherwise TTTTccccllll____SSSSttttrrrriiiinnnnggggMMMMaaaattttcccchhhh returns 0. The algorithm used for
- matching is the same algorithm used in the ``string match''
- Tcl command and is similar to the algorithm used by the C-
- shell for file name matching; see the Tcl manual entry for
- details.
-
-
- KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
- match, pattern, string
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 1 (printed 7/10/95)
-
-
-
-